﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RN.ERP.DTO
{
    /// <summary>
    /// 排序方向。
    /// </summary>
    public enum QuerySortOrder
    {
        Desc,
        Asc
    }
    /// <summary>
    /// 变更自定义控件的功能枚举
    /// </summary>
    public enum FunctionTypeEnum
    {
        Add = 1,  //添加
        Edit = 2,  ///修改
        View = 3   ///查看
    }

    /// <summary>
    /// 变更自定义控件的变更类型枚举
    /// </summary>
    public enum ChangeTypeEnum
    {
        Corp = 1,  ///企业基本信息变更
        CorpQuality = 2, ///企业资质变更
        Safe = 3,//企业安全
        Person = 4,///人员基本信息变更
        PersonQuality = 5,///人员资格信息变更
        PersonQualityB = 6,  ////人员B证变更
        CorpWdrq = 7,
        CorpAll = 8,
        PersonCertDate = 9,
        PersonCertType = 10
    }
    /// <summary>
    /// 操作类型
    /// </summary>
    public enum OperationType
    {
        Add = 1,///添加
        Delete = 2,///删除
    }
    /// <summary>
    /// 操作功能类型。
    /// </summary>
    public enum FunctionType
    {
        添加 = 1,
        修改 = 2,
        删除 = 3
    }

    /// <summary>
    /// 操作功能编号。
    /// </summary>
    public enum FunctionId
    {
        人员模块 = 1000,
        角色模块 = 1010,
        功能模块 = 1020,
        控件模块 = 1030,
        人员关联角色 = 1040,
        人员关联功能 = 1050,
        角色关联功能 = 1060,
        功能关联控件 = 1070
    }
    public enum FuncType
    {
        Add = 1,
        Edit = 2,
        Del = 3,
        SubmitOrder = 4,
        GetInvoices = 5,
        AddInvoices = 6,
        Verify = 7,
        Audit = 8
    }

    public enum FlagBiked
    {
        NoCard=0,
        Warning=1,
        YellowCard=2,
        RedCard=3
    }
    public enum FlowCodeOptEnum 
    {
        /// <summary>
        /// 未知。
        /// </summary>
        Unknow = -1,
        /// <summary>
        /// 添加。
        /// </summary>
        Add = 0,
        /// <summary>
        /// 修改。
        /// </summary>
        Edit = 1,
        /// <summary>
        /// 删除。
        /// </summary>
        Delete = 2,
        /// <summary>
        /// 查询。
        /// </summary>
        Search = 3,
        /// <summary>
        /// 上报。
        /// </summary>
        Post = 4,
        /// <summary>
        /// 审核。
        /// </summary>
        Audit = 5,
        /// <summary>
        /// 退回。
        /// </summary>
        Reject = 6,
        /// <summary>
        /// 解锁退回。
        /// </summary>
        UnlockReject = 7
    }

    public enum CorpChangeItem
    {
        None = 0,
        /// <summary>
        /// 法人
        /// </summary>
        NID_Fr = 3,
        /// <summary>
        /// 企业负责人
        /// </summary>
        NID_Qy = 4,
        /// <summary>
        /// 技术负责人
        /// </summary>
        NID_Js = 5,
        /// <summary>
        /// 财务负责人
        /// </summary>
        NID_Cw = 7,
        /// <summary>
        /// 经营负责人
        /// </summary>
        NID_Jy = 8
    }
}
